package cn.pegasus.teamwork.interfaces.service;

import java.util.List;
import java.util.Map;

import cn.iyizhan.teamwork.base.service.BaseService;
import cn.pegasus.teamwork.interfaces.entity.BussInterfaceParam;
import cn.pegasus.teamwork.interfaces.mapper.BussInterfaceParamMapper;

/**
 * 
 * @author 接口service
 *
 */
public interface BussInterfaceParamService extends BaseService<BussInterfaceParam, BussInterfaceParamMapper> {
	/**
	 * 新增参数
	 * 
	 * @return
	 */
	public Map<String, Object> addParam(Map<String, Object> map, Long userId);

	/**
	 * 修改参数
	 * 
	 * @return
	 */
	public Map<String, Object> updateParam(Map<String, Object> map, Long userId);

	/**
	 * 删除参数
	 * 
	 * @return
	 */
	public Map<String, Object> deleteParam(Map<String, Object> map, Long userId);
	/**
	 * 
	 * @Description:查询接口参数	   
	 * @throws
	 * @author zhoulibo
	 * @date 2015年11月16日
	 */
	
	public List<BussInterfaceParam> selectParam(Map<String, Object> map);
	/**
	 * 修改参数时弹窗
	 */
	public BussInterfaceParam detail(Map<String, Object> map);
	void testName();
}
